import request from '@/utils/request'

export function getNewsListApi(params) {
    return request({
        url: '/news/newsList',
        method: 'get',
        params
    })
}

export function getNewsDetailApi(params) {
    return request({
        url: '/news/getNewById',
        method: 'get',
        params
    })
}

export function getNewsCountApi(params) {
    return request({
        url: '/news/selectTypeCount',
        method: 'get',
        params
    })
}
